package com.sqjw.demo.mapper;

import com.sqjw.demo.annotation.MybatisMapper;
import com.sqjw.demo.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 单耀
 * @date 2023/8/6 11:36
 */
@Mapper
public interface UserMapper {
    List<User> query();
    User selectById(@Param("id")Integer id);
}
